#!/usr/bin/node

const log = console.log;

log(`architecture:${process.arch}`);
log(`platform:${process.platform}`);

log(`process id:${process.pid}`);
log(`exePath:${process.execPath}`);

//process.stdin.resume();

log(`node version:${process.version}`);

log(`user id:${process.getuid()}`);
log(`group id:${process.getgid()}`);
log(`cwd:${process.cwd()}`);

log('memoryUsage:',process.memoryUsage());
log(`rss:${process.memoryUsage().rss}`);
log(`heapTotal:${process.memoryUsage().heapTotal}`);
log(`heapUsed:${process.memoryUsage().heapUsed}`);
log(`external:${process.memoryUsage().external}`);
log(`arrayBuffers:${process.memoryUsage().arrayBuffers}`);

log('env:',process.env);
log(`host name:${process.env.HOSTNAME}`);
